package cn.lysj.framework.order.dto;

import cn.lysj.framework.common.validate.annotation.Min;
import cn.lysj.framework.common.validate.annotation.NotBlank;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Created by zk on 2018-11-13 14:21
 * @description 支付宝退款DTO
 */
@Data
public class AliRefundDto {
    @NotBlank(message = "请提供正确的商户Id")
    private String merchantId;//商户ID

    @Min(min = 0,message = "请提供大于0的金额")
    private BigDecimal value;//订单总金额

    @NotBlank(message = "请提供订单号")
    private String orderId;
}
